package fr.cie.blog.domainservice;

import java.util.List;

import fr.cie.blog.beans.Card;
import fr.cie.blog.beans.Interest;

/**
 * @author AetM
 * 
 */
public interface IServiceInterest extends IServiceGeneric<Interest> {

	/**
	 * @param card
	 *            the container of the wanted Interest
	 * @return the list of interests in card
	 */
	List<Interest> findByCard(Card card);

	/**
	 * Return the list of Interest which corresponds to idList parameter.
	 * 
	 * @param idList
	 *            the list of interest id
	 * @return the list of interest
	 */
	List<Interest> findById(List<Integer> idList);
}